package com.haoze.nurse.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Table(name = "EMR.NURSE_FILE_DATA")
public class NurseFileDataEntity {

    @Id
    @Column(name = "FILE_DATA_ID", nullable=false)
    private String fileDataId;

    @Column(name = "DATA_VERSION", nullable=false, columnDefinition = "1")
    private Integer dataVersion;

    @Column(name = "GMT_CREATE")
    private Timestamp gmtCreate;

    @Column(name = "GMT_MODIFY", nullable=false)
    private Timestamp gmtModify;

    @Column(name = "HOSPITAL_ID")
    private String hospitalId;

    @Column(name = "RECORD_TIME", nullable=false, length=16)
    private String recordTime;

    @Column(name = "RECORD_TYPE", nullable=false)
    private String recordType;

    @Column(name = "INPAT_NUM", nullable=false)
    private String inpatNum;

    @Column(name = "FILE_INDEX_ID", nullable=false)
    private String fileIndexId;

    @Column(name = "OPERATION_ID")
    private String operationId;

    @Column(name = "FLAG")
    private String flag;

    @Column(name = "CARE_TYPE")
    private String careType; // 0一般记录，1统计记录

    @Column(name = "STATISTICS_ID")
    private String statisticsId;

    @Column(name = "WARD_ID")
    private String wardId;

    @Column(name = "DEPT_ID")
    private String deptId;

    @Column(name = "BED_NO")
    private String bedNo;

    @Column(name = "TPL_ID")
    private String tplId;

    public String getTplId() {
        return tplId;
    }

    public void setTplId(String tplId) {
        this.tplId = tplId;
    }

    public String getCareType() {
        return careType;
    }

    public void setCareType(String careType) {
        this.careType = careType;
    }

    public String getStatisticsId() {
        return statisticsId;
    }

    public void setStatisticsId(String statisticsId) {
        this.statisticsId = statisticsId;
    }

    public String getWardId() {
        return wardId;
    }

    public void setWardId(String wardId) {
        this.wardId = wardId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getFileDataId() {
        return fileDataId;
    }

    public void setFileDataId(String fileDataId) {
        this.fileDataId = fileDataId;
    }

    public Integer getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(Integer dataVersion) {
        this.dataVersion = dataVersion;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Timestamp getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Timestamp gmtModify) {
        this.gmtModify = gmtModify;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(String recordTime) {
        this.recordTime = recordTime;
    }

    public String getRecordType() {
        return recordType;
    }

    public void setRecordType(String recordType) {
        this.recordType = recordType;
    }

    public String getInpatNum() {
        return inpatNum;
    }

    public void setInpatNum(String inpatNum) {
        this.inpatNum = inpatNum;
    }

    public String getFileIndexId() {
        return fileIndexId;
    }

    public void setFileIndexId(String fileIndexId) {
        this.fileIndexId = fileIndexId;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }
}
